.Net Framework > v1.1.4322 > System > Drawing > Graphics > MeasureString MeasureString(String,Font)
MeasureString(String,Font,PointF,StringFormat)
MeasureString(String,Font,SizeF)
MeasureString(String,Font,SizeF,StringFormat)
MeasureString(String,Font,SizeF,StringFormat,Int32@,Int32@)
MeasureString(String,Font,Int32)
MeasureString(String,Font,Int32,StringFormat)


MeasureString(String,Font)

Category
Method
Description
Measures the specified string when drawn with the specified System.Drawing.Font object.
Type
SizeF
Character
public
Parameters
NameTypeDescription
textString
fontFont
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

MeasureString(String,Font,PointF,StringFormat)

Category
Method
Description
Measures the specified string when drawn with the specified System.Drawing.Font object and formatted with the specified System.Drawing.StringFormat object.
Type
SizeF
Character
public
Parameters
NameTypeDescription
textString
fontFont
originPointF
stringFormatStringFormat
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

MeasureString(String,Font,SizeF)

Category
Method
Description
Measures the specified string when drawn with the specified System.Drawing.Font object within the specified layout area.
Type
SizeF
Character
public
Parameters
NameTypeDescription
textString
fontFont
layoutAreaSizeF
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

MeasureString(String,Font,SizeF,StringFormat)

Category
Method
Description
Measures the specified string when drawn with the specified System.Drawing.Font object and formatted with the specified System.Drawing.StringFormat object.
Type
SizeF
Character
public
Parameters
NameTypeDescription
textString
fontFont
layoutAreaSizeF
stringFormatStringFormat
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

MeasureString(String,Font,SizeF,StringFormat,Int32@,Int32@)

Category
Method
Description
Measures the specified string when drawn with the specified System.Drawing.Font object and formatted with the specified System.Drawing.StringFormat object.
Type
SizeF
Character
public
Parameters
NameTypeDescription
textString
fontFont
layoutAreaSizeF
stringFormatStringFormat
charactersFittedInt32
linesFilledInt32
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

MeasureString(String,Font,Int32)

Category
Method
Description
Measures the specified string when drawn with the specified System.Drawing.Font object.
Type
SizeF
Character
public
Parameters
NameTypeDescription
textString
fontFont
widthInt32
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

MeasureString(String,Font,Int32,StringFormat)

Category
Method
Description
Measures the specified string when drawn with the specified System.Drawing.Font object and formatted with the specified System.Drawing.StringFormat object.
Type
SizeF
Character
public
Parameters
NameTypeDescription
textString
fontFont
widthInt32
formatStringFormat
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database